package mest.service.cxj;

import mest.VO.cxj.PlanOtherIncomeRecordVO;
import mest.entity.PlanOtherIncomeRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlanOtherIncomeRecordService {

    /**
     * 添加计划收款单记录
     *
     * @param poir
     * @param theirDb
     * @return
     */
    Integer insertPlanOtherIncomeRecord(PlanOtherIncomeRecord poir, String theirDb);


    /**
     * 根据ID查询所有计划收款单记录
     *
     * @return
     */
    List<PlanOtherIncomeRecordVO> selectAllPlanOtherIncomeRecordById(Integer page, Integer limit, Integer poicId, String theirDb);

    /**
     * 根据ID查询所有计划收款单数量
     *
     * @return
     */
    Integer selectCountPlanOtherIncomeRecordById(Integer poicId, String theirDb);
}
